package com.lifl.b328.garden.model;




public class Storage {
	
	protected Storage next = null;

	
		public Storage setNext(Storage next){
			this.next = next;
			return next;
		}
	
	public void addNote(Note n, long userId,long noteId,Handler handler) { next.addNote(n,userId,noteId,handler); }
	public void deleteNote(long id,User user, Handler handler) { next.deleteNote(id,user, handler); }
	public void getAllNotes(User user,long user_id,Handler handler) { next.getAllNotes(user,user_id,handler); }
	public void getAllNotes(User user,long user_id,String order,Handler handler) {next.getAllNotes(user,user_id, order,handler);};
	public Note getNoteById(long id) { return next.getNoteById(id); }
	public long editNote(Note note, long id) { return next.editNote(note,id); }
	
	public User getUserByEmail(String email) { return next.getUserByEmail(email);}
	public void addUser(User user, Handler handler) { next.addUser(user, handler);	}
}
